package com.ruoyi.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.exam.domain.ExamQuestionCategory;
import com.ruoyi.exam.vo.ExamQuestionCategoryVo;

import java.util.List;

/**
 * 题库分类Service接口
 *
 * @author Tellsea
 * @date 2025-05-30
 */
public interface IExamQuestionCategoryService extends IService<ExamQuestionCategory> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<ExamQuestionCategoryVo> queryList(ExamQuestionCategoryVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<ExamQuestionCategoryVo> queryAll(ExamQuestionCategoryVo entity);

    /**
     * 根据ID查询
     *
     * @param categoryId
     * @return
     */
    ExamQuestionCategoryVo queryById(Long categoryId);
}
